package spillet;

import java.util.ArrayList;

public class Inventory {
	
	//Fields
	private ArrayList<Key> keys;
	
	//Constructor
	public Inventory() {
		keys = new ArrayList<Key>();
	}
	
	public void addKey(String color){
		keys.add(new Key(color));
	}
	
	public void removeKey(String color){
		Key key = new Key(color);
		keys.remove(key);
	}
	
	public void resetInventory(){
		keys.removeAll(keys);
	}
}
